package com.aiti.lulian.mapper;

import com.aiti.lulian.dto.ShowCardBannerDto;
import com.aiti.lulian.entity.ShowCardBanner;
import com.aiti.lulian.vo.ShowCardBannerVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 工信门户首页 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-06-18
 */
public interface ShowCardBannerMapper extends BaseMapper<ShowCardBanner> {

    List<ShowCardBannerVo> bannerList(Page page, @Param("dto") ShowCardBannerDto dto);

    ShowCardBannerVo latestBanner(@Param("dto") ShowCardBannerDto dto);

}
